package com.lgx.authorize.module.entity;

import java.io.Serializable;
import java.util.Date;

import com.lgx.authorize.util.LgxField;

/**
 * this entity is use in open api to other application to login
 * @author pengdeyi (king)
 *
 */
public class AuthorizeUserInfo implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -8402967384119333376L;

	/**
	 * primary key for sqlite
	 */
	@LgxField
	private int systemid;

	/**
	 * this apply you have use time.
	 */
	@LgxField
	private Date startTime;
	
	/**
	 * this apply you have login disable time.
	 */
	@LgxField
	private Date endTime;
	
	/**
	 * if you got this token,you can use our open api
	 */
	@LgxField
	private String authorizeToken;
	
	/**
	 * application apply key info
	 */
	@LgxField
	private int appkeyId;
	
	/**
	 * login user infomation
	 */
	@LgxField
	private String userId;

	public int getSystemid() {
		return systemid;
	}

	public void setSystemid(int systemid) {
		this.systemid = systemid;
	}
	
	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getAuthorizeToken() {
		return authorizeToken;
	}

	public void setAuthorizeToken(String authorizeToken) {
		this.authorizeToken = authorizeToken;
	}

	public int getAppkeyId() {
		return appkeyId;
	}

	public void setAppkeyId(int appkeyId) {
		this.appkeyId = appkeyId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	
	
}
